
<!DOCTYPE html>
<html>
<head>
<?php $this->inc('_pub/weys~imp'); ?>
<meta name='robots' content='noindex, nofollow'>
<title>Homepage - <?=$_cbase['name']?></title>

</head>
<body>
<?php $this->inc('_pub/weys~head'); ?>

<style type="text/css">
.demo1, .demo2{ max-width:630px; margin:auto; box-sizing:border-box; }
.demo1>div, .demo2>div{ width:100%; display:flex; }
.demo1 i, .demo2 i{ display:inline-block; line-height:120%; font-style:normal; overflow:hidden; text-align:center; padding:0.5rem 0; margin:0.2rem; box-sizing:border-box; }
.demo1 i{ width:16.66%; }
.demo2 i{ width:20%; }
.vcodes img{ height:40px; }
@media only screen and (max-width:550px){
    .demo1 i, .demo2 i{ font-size:small; }
}
</style>
<article>

<div class='demo1'>
    <?php foreach($data as $r1){ ?>
    <?php foreach($r1 as $k2=>$r2){ if(!$k2){ ?>
    <div>
        <?php foreach($r2 as $k3=>$r3){ if($k3){ ?>
        <i style="color:#<?=$r3?>;background:#<?=$r2[0]?>"><?=$r3?><br><?=$r2[0]?></i>
        <?php } } ?>
    </div>
    <?php } } } ?>
</div>

<!--
<?php dump($data); ?>
-->

<p class="tc" class="vcodes">
    <img src="../index.php/home-vcode?type=vsms4" />
    <img src="../index.php/home-vcode?" /> <br>
    <img src="../index.php/?r=home-vcode&type=emtel&code=<?=Encode::sysRevert('138-00998866')?>" /> <br>
    <img src="../index.php/?r=home-vcode&type=emtel&code=<?=Encode::sysRevert('xpi****on@163.com')?>" />
</p>

<div class='demo2'>
    <div>
        <i style="color:#0FC;background:#9F3">0FC<br>9F3</i>
        <i style="color:#C93;background:#C0F">C93<br>C0F</i>
        <i style="color:#F3C;background:#39C">F3C<br>39C</i>
        <i style="color:#C90;background:#C3F">C90<br>C3F</i>
        <i style="color:#99F;background:#3C0">99F<br>3C0</i>
    </div>
    <div>
        <i style="color:#FCF;background:#9F3">FCF<br>9F3</i>
        <i style="color:#99F;background:#3C6">99F<br>3C6</i>
        <i style="color:#F3F;background:#F96">F3F<br>F96</i>
        <i style="color:#FCF;background:#CF6">FCF<br>CF6</i>
        <i style="color:#FCF;background:#6F3">FCF<br>6F3</i>
    </div>
    <div>
        <i style="color:#93F;background:#396">93F<br>396</i>
        <i style="color:#396;background:#93F">396<br>93F</i>
    </div>
</div>

</article>
<?php $this->inc('_pub/weys~foot'); ?>
</body>
</html>
